/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.aptech.mBean;

import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author LanhAnh
 */
@ManagedBean(name = "slideController")
@RequestScoped
public class SlideController {

    private List<String> images;

    public List<String> getImages() {
        return images;
    }

    /**
     * Creates a new instance of SlideController
     */
    public SlideController() {
        images = new ArrayList<String>();
        for (int i = 1; i <= 6; i++) {
            images.add("slide" + i + ".jpg");
        }
    }
}
